import { get, post } from '@/utils/request'

export const statisticsProgress = (query) => {
  return get('/en/index/progressToal', query)
}

export const statisticsFunnelInfo = (query) => {
  return get('/en/statistics/funnelInfo', query)
}

export const statisticsEliminateInfo = (query) => {
  return get('/en/statistics/eliminateInfo', query)
}

export const eliminateReasonInfo = (query) => {
  return get('/en/statistics/eliminateReasonInfo', query)
}

export const jobAnalysisInfo = (query) => {
  return get('/en/statistics/jobAnalysisInfo', query)
}

export const jobAnalysisInfoExcel = (query) => {
  return get('/en/enExcel/jobAnalysisInfo', query, { responseType: 'arraybuffer' }, true)
}

export const sevenResumeInfo = (query) => {
  return get('/en/index/sevenInfo', query)
}

export const statisticsJobInfos = (query) => {
  return get('/en/statistics/jobInfos', query)
}

export const excelJobInfos = (query) => {
  return get('/en/enExcel/jobInfos', query, { responseType: 'arraybuffer' }, true)
}
